@extends('layout.admin') 

@section('content')
<div class="container">
	<div class="row">
        <div class="span2">
            <div class="well sidebar-nav">
                <ul class="nav nav-list">
                  <li class="nav-header">菜单</li>
                  <li><a href="{{URL::to('admin/post')}}"><i class="icon-th-list"></i>日志列表</a></li>
                  <li><a href="{{URL::to('admin/post/create')}}"><i class="icon-pencil"></i>添加日志</a></li>
                  <li><a href="{{URL::to('admin/posttype')}}"><i class="icon-th-list"></i>
							日志类型</a></li>
					<li><a href="{{URL::to('admin/posttype/create')}}"><i
							class="icon-pencil"></i> 添加类型</a></li>
                </ul>
              </div>
        </div>
	
		<div class="span10">
			<ul class="breadcrumb">
				<li><a href="{{ URL::to('admin') }}">首页</a> <span class="divider">/</span></li>
				<li><a href="{{ URL::to('admin/post') }}">日志管理</a> <span class="divider">/</span></li>
				<li class="active">日志查看</li>
			</ul>
            
        	<div class="jumbotron text-center">
        		<h2>{{ $post->title }}</h2>
        		
        		{{ $post->body }}
        		
        		@if ($post->thumb != '')
        		{{HTML::image('upload/' . $post->thumb )}}
        		@endif
        	</div>

		</div>

	</div>
</div>
@stop

